﻿using System;
using System.Linq;
using GlimpseWcf.Server;
using GlimpseWcf.TestCore.Data;

namespace WcfTestService
{
    //[WcfServiceBehavior]
    public class GlimpseWcfTestService : IGlimpseWcfTestService
    {
        public string GetData()
        {
            return "World";
            try
            {
                var context = new Entities();
                return context.UserProfiles.First().UserName;
            }
            catch
            {
                return "World";
            }
        }
    }
}
